<html><head><title>@@tempdbid</title><meta name="HandheldFriendly" content="True"></head><body>Returns a valid temporary database ID (dbid) of the session's assigned temporary database.<br><br><b>@@tempdbid</b></body></html>